<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich">
   
    <h:form id="form">
        <h:panelGrid  columns="2" columnClasses="cols,cols" width="400">
            <rich:panelMenu style="width:200px" itemMode="server" groupMode="ajax" groupExpandedLeftIcon="triangleUp"
                groupCollapsedLeftIcon="triangleDown" topGroupExpandedRightIcon="chevronUp"
                topGroupCollapsedRightIcon="chevronDown" itemLeftIcon="disc">
                <rich:panelMenuGroup label="Cadastro"  >
                    <rich:panelMenuGroup label="Serviço" >
                    	<rich:panelMenuItem label="Incluir" name="servicoIncluir" immediate="true" action="#{servicoBean.create}" />
                    	<rich:panelMenuItem label="Consultar" name="servicoConsultar" immediate="true" action="#{servicoBean.list}" />
                    </rich:panelMenuGroup>
                    <rich:panelMenuGroup label="Montadora" >
                    	<rich:panelMenuItem label="Incluir" name="MontadoraIncluir" immediate="true" action="#{manterFabricanteBean.create}" />
                    	<rich:panelMenuItem label="Consultar" name="MontadoraConsultar" immediate="true" action="#{manterFabricanteBean.list}" />
                    </rich:panelMenuGroup>
                    <rich:panelMenuGroup label="Combustivel" >
                    	<rich:panelMenuItem label="Incluir" name="CombustivelIncluir" immediate="true" action="#{manterCombustivelBean.create}" />
                    	<rich:panelMenuItem label="Consultar" name="CombustivelConsultar" immediate="true" action="#{manterCombustivelBean.list}" />
                    </rich:panelMenuGroup>
                     <rich:panelMenuGroup label="Distribuidor" >
                    	<rich:panelMenuItem label="Incluir" name="DistribuidorIncluir" immediate="true" action="#{distribuidorBean.create}" />
                    	<rich:panelMenuItem label="Consultar" name="DistribuidorConsultar" immediate="true" action="#{distribuidorBean.list}" />
                    </rich:panelMenuGroup>
                    <rich:panelMenuGroup label="Posto" >
                    	<rich:panelMenuItem label="Incluir" name="PostoIncluir" immediate="true" action="#{postoBean.create}" />
                    	<rich:panelMenuItem label="Consultar" name="PostoConsultar" immediate="true" action="#{postoBean.list}" />
                    </rich:panelMenuGroup>
                    <rich:panelMenuGroup label="Modelo" >
                    	<rich:panelMenuItem label="Incluir" name="ModeloIncluir" immediate="true" action="#{modeloBean.create}" />
                    	<rich:panelMenuItem label="Consultar" name="ModeloConsultar" immediate="true" action="#{modeloBean.list}" />
                    </rich:panelMenuGroup>
                    <!-- 
                    <rich:panelMenuItem label="Item 1.2" name="Item_1_2" />
                    <rich:panelMenuItem label="Item 1.3" name="Item_1_3" />
                     -->
                </rich:panelMenuGroup>
              <!-- 
                <rich:panelMenuGroup label="Group 2">
                    <rich:panelMenuItem label="Item 2.1" name="Item_2_1" />
                    <rich:panelMenuItem label="Item 2.2" name="Item_2_2" />
                    <rich:panelMenuItem label="Item 2.3" name="Item_2_3" />
                    <rich:panelMenuGroup label="Group 2.4">
                        <rich:panelMenuItem label="Item 2.4.1" name="Item_2_4_1" />
                        <rich:panelMenuItem label="Item 2.4.2" name="Item_2_4_2" />
                        <rich:panelMenuItem label="Item 2.4.3" name="Item_2_4_3" />
                    </rich:panelMenuGroup>
                    <rich:panelMenuItem label="Item 2.5" name="Item_2_5" />
                </rich:panelMenuGroup>
                <rich:panelMenuGroup label="Group 3">
                    <rich:panelMenuItem label="Item 3.1" name="Item_3_1" />
                    <rich:panelMenuItem label="Item 3.2" name="Item_3_2" />
                    <rich:panelMenuItem label="Item 3.3" name="Item_3_3" />
                </rich:panelMenuGroup>
               -->
            </rich:panelMenu>
        </h:panelGrid>
    </h:form>
</ui:composition>
